package com.example.demo.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.example.demo.DTO.ResultDTO;
import com.example.demo.entity.Role;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author moguai
 * @version 1.0
 * @date 2022/3/18 15:47
 */
@Service
public interface RoleService extends IService<Role> {
    void InsertRole(Integer id, String name);
    void UpdateRole(Integer id,String name);
    void DeleteRole(Integer id);
    Role SelectRole(Integer id);
    List<Role> SelectRoleByUser(List<Integer> RolesId);
}
